package com.itheima.Demo01.demo03;

public class Boy extends Thread{
    @Override
    public void run() {
        synchronized (Monly.lock) {
            try {
                Thread.sleep(10);
                Monly.monly=90000;
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }
}
